<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="conversation.css" rel="STYLESHEET" type="text/css">
<title>Conversation Annotation Environment</title>
</head>
<body>
<div class="header">
<table>
  <tr>
    <td class="account">
    <c:if test="${! empty anno_user}">  
        <a href="signout.html">Sign out </a> (Signed in as: <c:out value="${anno_user}" />)
    </c:if>
    </td>
    </tr>
	<tr>
		<td>
		<h1>Conversation Annotation Environment</h1>
		</td>
	</tr>
</table>
</div>
<c:if test="${empty anno_user}">  
<p>
Sign in from <a href="signin.html">here</a>...
</p>
</c:if>
<c:if test="${!(empty anno_user) && anno_user.role == 1}"> 
<p>
<table>
  <tr>
    <td rowspan="3">
      Annotate
    </td>
    <td> 
      <a href="datasetlist.html">Data sets</a>
    </td>
  </tr>
  <tr>
  	<td>
  		<a href="viewstatistics.html">Statistics</a>
  	</td>
  </tr>
  <tr>
  	<td>
  		<a href="exportdata.html">Export Data</a>
  	</td>
  </tr>
  <tr>
    <td rowspan="6">
      Edit
    </td>
    <td>
      <a href="clabellist.html">Conversation Labels</a>
    </td>
  </tr>
  <tr>
    <td>
      <a href="daschemelist.html">Dialog Act Schemes</a>
    </td>
  </tr>
  <tr>
    <td>
      <a href="dadimensionlist.html">Dialog Act Dimensions</a>
    </td>
  </tr>
  <tr>
    <td>
      <a href="dalabellist.html">Dialog Act Labels</a>
    </td>
  </tr>
    <tr>
    <td>
      <a href="adjlist.html">Adjacencies</a>
    </td>
  </tr>
    <tr>
    <td>    
      <a href="annotationsessionlist.html">Annotation Sessions</a>
    </td>
  </tr>  
</table>
</p>
</c:if>
<c:if test="${!(empty anno_user) && anno_user.role == 2}"> 
<p>
<table border="0">
  <tr>
    <td>
      Annotate
    </td>
    <td> 
      <a href="datasetlist.html">Data sets</a>
    </td>
  </tr>
  <tr>
    <td rowspan="3">
      Look Up
    </td>
    <!--  td>
      <a href="clabellist.html">Conversation Labels</a>
    </td> 
  </tr>
  <tr>
  -->
    <td>
      <a href="dalabellist.html">Dialog Act Labels</a>
    </td>
  </tr>
    <tr>
    <td>
      <a href="adjlist.html">Adjacencies</a>
    </td>
  </tr>
  <tr>
    <td>    
      <a href="annotationsessionlist.html">Annotation Sessions</a>
    </td>
  </tr>
</table>
</p>
</c:if>

</body>
</html>
